package helper

import (
	"github.com/slclub/go-tips"
	"github.com/spf13/viper"
)

var vip *viper.Viper

func Config() *viper.Viper {
	if vip == nil {
		vip = tips.ConfigWithViper(APP_PATH + CONFIG_FILE)
	}
	return vip
}
